<div class="page">
	<div class="page-header">
		<div class="pull-left">
			<i class="icon-awesome-group icon-large"></i>
			<span class="divider"></span>
			<div class="title">
				<h3><?php echo __('Perfis de Usuário'); ?></h3>
				<small><?php echo ('Gerencie os perfis de acesso ao sistema'); ?></small>
			</div>
		</div>
		<div class="pull-right">
			<?php echo $this->Html->link('<i class="icon-awesome-plus icon-white"></i>'.__('Novo'), array('action' => 'add'), array('escape' => false, 'class' => 'btn btn-primary btn-square', 'title' => 'Novo Perfil')); ?>
		</div>
	</div>
	<div class="page-content">
		<table class="table table-bordered table-striped table-condensed">
		<thead>
		<tr>
			<th width="8%"><?php echo $this->Paginator->sort('id', 'Código');?></th>
			<th><?php echo $this->Paginator->sort('nome', 'Perfil');?></th>
			<th width="10%" class="actions"><?php echo __('Ações');?></th>
		</tr>
		</thead>
		<tbody>
<?php
		foreach ($perfils as $perfil): ?>
		<tr>
			<td><?php echo h($perfil['Perfil']['id']); ?>&nbsp;</td>
			<td><?php echo h($perfil['Perfil']['nome']); ?>&nbsp;</td>
			<td class="actions">
				<?php echo $this->Html->link('<i class="icon-edit icon-white"></i>', array('action' => 'edit', $perfil['Perfil']['id']), array('escape' => false, 'class' => 'btn btn-primary btn-mini', 'title' => 'Editar Perfil')); ?>
			</td>
		</tr>
<?php endforeach; ?>
		</tbody>
		</table>
		<?php echo $this->element('pagination'); ?>
	</div>
</div>
<?php echo $this->element('form-modal'); ?>
<?php echo $this->Html->script('form-modal'); ?>